package org.zfm.user.service;

import org.zfm.user.domain.User;
import org.zfm.base.service.IBaseService;
import org.zfm.user.domain.dto.RegisterDto;
import org.zfm.user.domain.dto.SmsCodeDto;
import org.zfm.user.domain.dto.ToBindDto;
import org.zfm.util.data.AjaxResult;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zara
 * @since 2022-11-14
 */
public interface IUserService extends IBaseService<User> {

    void register(RegisterDto dto);

    AjaxResult wechatScanLogin(Map<String, String> map);

    AjaxResult bind(ToBindDto toBindDto);

    AjaxResult reSetPassword(Map<String, Object> reSetPasswordParam);

    AjaxResult smsLoginCode(Map<String, Object> smsCodeLoginParams);
}
